/**
 * Various overrides of the built viewer.css file. Keep this as a CSS file vs. LESS
 */

#pdf-meta *::selection {
    background: #abdffa;
}

#pdf-meta *::-moz-selection {
    background: #abdffa;
}

 #viewerContainer {
     top: 0;
 }

div.toolbar {
    display: none !important;
}

#sidebarContainer {
    display: none !important;
}

body.dark-theme {
    background: #222;
}

body {
    background: white;
}

.meta, .meta strong {
    color: rgba(0,0,0,.7);
}


#pdf-page-count {
    position: relative;
    padding-right: 16px;
}

#pdf-page-count:after {
    content: "";
    position: absolute;
    right: 2px;
    top: 0;
    display: block;
    background-image: url("../images/file-black.svg");
    background-position: right center;
    background-size: 10px;
    width: 12px;
    height: 100%;
    opacity: .6;
    background-repeat: no-repeat;
}

.dark-theme #pdf-page-count:after {
    background-image: url("../images/file-white.svg");
}

body.dark-theme .pdfViewer .page {
    box-shadow: 0 3px 5px rgba(0,0,0,.2);
}

.pdfViewer .page {
    border-image: none;
    border: none;
    margin: 10px auto 20px auto;
    box-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.pdfViewer .page:first-child {
    margin-top: 20px;
}

.header-wrapper {
    padding: 20px 25px 0 25px;
}

.viewer-header {
    padding-bottom: 10px;
    text-align: left;
    margin-bottom: 20px;
    font-size: 15px;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
    color: rgba(0,0,0,.6);
    line-height: 15px;
    border-bottom: solid 1px rgba(0,0,0,.25);
}

.viewer-header .file-type {
    font-weight: 600;
    color: rgba(0,0,0,.85);
}

.viewer-header .file-details {
    float: right;
}

.viewer-header .divider {
    margin: 0 3px;
}

body.dark-theme .viewer-header {
    color: rgba(255,255,255,.6);
    border-bottom: solid 1px rgba(255,255,255,.2);
}

body.dark-theme .viewer-header .file-type {
    color: rgba(255,255,255,.85);
}
